dofile ("libGame.lua")

dialog = {"line1", "line2", "line3", "line4", "line5", "line6"}
choices = {"1", "2", "3"}

Game.Window.new (SCREEN_UP, 0, 0, 75, 75, 1)
Game.Window.Dialog.new (SCREEN_UP, 2)
Game.Window.Choice.new (SCREEN_DOWN, 5, 5, choices, 100, 3)

while not Keys.held.Start do
  
  Controls.read ()
  
  startDrawing ()
    
    Game.Window.draw (1)
    Game.Window.drawText (5, 5, "Test", c_blanc, 1)
    
    Game.Window.Dialog.draw (SCREEN_UP, dialog, c_blanc, 2)
    
    Game.Window.Choice.draw (c_blanc, 3)
    
  stopDrawing ()
  
end

dialog = nil
choices = nil

Game.clearMemory ()
